package com.adk.backend.mapper;

import com.adk.backend.entity.LxVndCheckDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

/**
 * 供应商对账详情Mapper
 */
@Mapper
public interface VndCheckDetailsMapper extends BaseMapper<LxVndCheckDetails> {
    
    /**
     * 查询对账详情列表
     */
    List<LxVndCheckDetails> selectByVclId(@Param("vclId") Long vclId);
    
    /**
     * 统计对账详情总数量和总金额
     */
    Map<String, Object> selectSummaryByVclId(@Param("vclId") Long vclId);
}
